<!doctype html>

<html>

  <head>
    <meta charset="utf-8">
    <title>WASM test - exception</title>
  </head>

  <body>
    <script>
      WebAssembly.instantiateStreaming(fetch("fail.wasm"))
      .then(obj => {
        obj.instance.exports.fail_me();
      });
    </script>
  </body>

</html>
